package cn.ittgh.pojo.Relationship;

import cn.ittgh.utils.EnumsUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyRelationship {
	private String uId;
	private String userName;
	private String rId;
	private String avatar;

	@JsonProperty("rType")
	private EnumsUtil.RELATIONSHIP rType;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
}
